inherited dtmxs_CustService: Tdtmxs_CustService
  OldCreateOrder = True
  Left = 405
  Top = 332
  Height = 414
  Width = 659
  inherited adsMaster: TADODataSet
    CursorType = ctStatic
    CommandText = 'Select * from V_xs_CustService where 0=0'
    object adsMasterBillID: TStringField
      DisplayLabel = #25237#35785#21333'ID'
      FieldName = 'BillID'
    end
    object adsMasterBillNo: TStringField
      DisplayLabel = #25237#35785#21333#21495
      FieldName = 'BillNo'
    end
    object adsMasterBillDate: TDateTimeField
      DisplayLabel = #25237#35785#26085#26399
      FieldName = 'BillDate'
    end
    object adsMasterBillType: TStringField
      DisplayLabel = #25237#35785#31867#22411
      FieldName = 'BillType'
    end
    object adsMasterCallType: TStringField
      DisplayLabel = #25237#35785#26041#24335
      FieldName = 'CallType'
    end
    object adsMasterSeverity: TStringField
      DisplayLabel = #20005#37325#31243#24230
      FieldName = 'Severity'
    end
    object adsMasterContent: TStringField
      DisplayLabel = #25237#35785#20869#23481
      FieldName = 'Content'
      Size = 500
    end
    object adsMasterDeptID: TStringField
      DisplayLabel = #20844#21496'ID'
      FieldName = 'DeptID'
    end
    object adsMasterCustID: TStringField
      DisplayLabel = #23458#25143'ID'
      FieldName = 'CustID'
    end
    object adsMasterCustCode: TStringField
      DisplayLabel = #23458#25143#32534#30721
      FieldName = 'CustCode'
    end
    object adsMasterCustShortName: TStringField
      DisplayLabel = #23458#25143#21517#31216
      FieldName = 'CustShortName'
      Size = 100
    end
    object adsMasterCustOrderNo: TStringField
      DisplayLabel = #23458#25143#35746#21333#21495
      FieldName = 'CustOrderNo'
    end
    object adsMasterOrderDetailNo: TStringField
      DisplayLabel = #35746#21333#26126#32454#21333#21495
      FieldName = 'OrderDetailNo'
    end
    object adsMasterMachineCode: TStringField
      DisplayLabel = #32455#26426#32534#21495
      FieldName = 'MachineCode'
      Size = 50
    end
    object adsMasterSupplyID: TStringField
      DisplayLabel = #20379#24212#21830'ID'
      FieldName = 'SupplyID'
    end
    object adsMasterSupplyCode: TStringField
      DisplayLabel = #20379#24212#21830#32534#30721
      FieldName = 'SupplyCode'
    end
    object adsMasterSupplyShortName: TStringField
      DisplayLabel = #20379#24212#21830#21517#31216
      FieldName = 'SupplyShortName'
      Size = 50
    end
    object adsMasterProjectNo: TStringField
      DisplayLabel = #21345#21495'/'#32568#21495
      FieldName = 'ProjectNo'
      Size = 50
    end
    object adsMasterProductID: TStringField
      DisplayLabel = #20135#21697'ID'
      FieldName = 'ProductID'
    end
    object adsMasterProductCode: TStringField
      DisplayLabel = #20135#21697#32534#30721
      FieldName = 'ProductCode'
    end
    object adsMasterProductName: TStringField
      DisplayLabel = #20135#21697#21517#31216
      FieldName = 'ProductName'
      Size = 50
    end
    object adsMasterCustSpecs: TStringField
      DisplayLabel = #23458#25143#36135#21495
      FieldName = 'CustSpecs'
    end
    object adsMasterColorID: TStringField
      DisplayLabel = #33394#21495'ID'
      FieldName = 'ColorID'
    end
    object adsMasterColorCode: TStringField
      DisplayLabel = #33394#21495
      FieldName = 'ColorCode'
    end
    object adsMasterColorName: TStringField
      DisplayLabel = #39068#33394
      FieldName = 'ColorName'
      Size = 30
    end
    object adsMasterWidth: TStringField
      DisplayLabel = #33457#23485
      FieldName = 'Width'
      Size = 50
    end
    object adsMasterHeight: TStringField
      DisplayLabel = #33457#39640
      FieldName = 'Height'
      Size = 50
    end
    object adsMasterBreadth: TStringField
      DisplayLabel = #24133#23485
      FieldName = 'Breadth'
      Size = 50
    end
    object adsMasterGram: TStringField
      DisplayLabel = #20811#37325
      FieldName = 'Gram'
      Size = 50
    end
    object adsMasterOrderDate: TDateTimeField
      DisplayLabel = #19979#21333#26085#26399
      FieldName = 'OrderDate'
    end
    object adsMasterSendDate: TDateTimeField
      DisplayLabel = #21457#36135#26085#26399
      FieldName = 'SendDate'
    end
    object adsMasterOrderPieceCount: TFloatField
      DisplayLabel = #19979#21333#21305#25968
      FieldName = 'OrderPieceCount'
    end
    object adsMasterOrderNumber: TFloatField
      DisplayLabel = #19979#21333#25968#37327'(KG)'
      FieldName = 'OrderNumber'
    end
    object adsMasterSendPieceCount: TFloatField
      DisplayLabel = #21457#36135#21305#25968
      FieldName = 'SendPieceCount'
    end
    object adsMasterSendNumber: TFloatField
      DisplayLabel = #21457#36135#25968#37327'(KG)'
      FieldName = 'SendNumber'
    end
    object adsMasterBackPieceCount: TFloatField
      DisplayLabel = #36864#36135#21305#25968
      FieldName = 'BackPieceCount'
    end
    object adsMasterBackNumber: TFloatField
      DisplayLabel = #36864#36135#25968#37327'(KG)'
      FieldName = 'BackNumber'
    end
    object adsMasterPieceCount: TFloatField
      DisplayLabel = #21305#25968
      FieldName = 'PieceCount'
    end
    object adsMasterUnitID: TStringField
      DisplayLabel = #21333#20301'ID'
      FieldName = 'UnitID'
    end
    object adsMasterUnitName: TStringField
      DisplayLabel = #21333#20301
      FieldName = 'UnitName'
      Size = 10
    end
    object adsMasterHasDispose: TBooleanField
      DisplayLabel = #22788#29702#21542
      FieldName = 'HasDispose'
    end
    object adsMasterDisposeOK: TBooleanField
      DisplayLabel = #22788#29702'OK'#21542
      FieldName = 'DisposeOK'
    end
    object adsMasterRestoreRemark: TStringField
      DisplayLabel = #22788#29702#32467#26524
      FieldName = 'RestoreRemark'
      Size = 100
    end
    object adsMasterHasCheck: TBooleanField
      DisplayLabel = #23457#26680#21542
      FieldName = 'HasCheck'
    end
    object adsMasterChecker: TStringField
      DisplayLabel = #23457#26680#20154
      FieldName = 'Checker'
    end
    object adsMasterCheckTime: TDateTimeField
      DisplayLabel = #23457#26680#26102#38388
      FieldName = 'CheckTime'
    end
    object adsMasterWriter: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object adsMasterWriteTime: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object adsMasterModifier: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object adsMasterModifyTime: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object adsMasterRemark: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 50
    end
  end
  inherited adsMasterEdit: TADODataSet
    CursorType = ctStatic
    CommandText = 'Select * from xs_CustService'
    object adsMasterEditBillID: TStringField
      DisplayLabel = #25237#35785#21333'ID'
      FieldName = 'BillID'
    end
    object adsMasterEditBillNo: TStringField
      DisplayLabel = #25237#35785#21333#21495
      FieldName = 'BillNo'
    end
    object adsMasterEditBillDate: TDateTimeField
      DisplayLabel = #25237#35785#26085#26399
      FieldName = 'BillDate'
    end
    object adsMasterEditBillType: TStringField
      DisplayLabel = #25237#35785#31867#22411
      FieldName = 'BillType'
    end
    object adsMasterEditCallType: TStringField
      DisplayLabel = #25237#35785#26041#24335
      FieldName = 'CallType'
    end
    object adsMasterEditSeverity: TStringField
      DisplayLabel = #20005#37325#31243#24230
      FieldName = 'Severity'
    end
    object adsMasterEditContent: TStringField
      DisplayLabel = #25237#35785#20869#23481
      FieldName = 'Content'
      Size = 500
    end
    object adsMasterEditDeptID: TStringField
      DisplayLabel = #20844#21496'ID'
      FieldName = 'DeptID'
    end
    object adsMasterEditCustID: TStringField
      DisplayLabel = #23458#25143'ID'
      FieldName = 'CustID'
    end
    object adsMasterEditCustOrderNo: TStringField
      DisplayLabel = #23458#25143#35746#21333#21495
      FieldName = 'CustOrderNo'
    end
    object adsMasterEditOrderDetailNo: TStringField
      DisplayLabel = #35746#21333#26126#32454#21333#21495
      FieldName = 'OrderDetailNo'
      OnChange = adsMasterEditOrderDetailNoChange
    end
    object adsMasterEditMachineCode: TStringField
      DisplayLabel = #32455#26426#32534#21495
      FieldName = 'MachineCode'
      Size = 50
    end
    object adsMasterEditSupplyID: TStringField
      DisplayLabel = #20379#24212#21830'ID'
      FieldName = 'SupplyID'
    end
    object adsMasterEditProjectNo: TStringField
      DisplayLabel = #21345#21495'/'#32568#21495
      FieldName = 'ProjectNo'
      OnChange = adsMasterEditProjectNoChange
      Size = 50
    end
    object adsMasterEditProductID: TStringField
      DisplayLabel = #20135#21697'ID'
      FieldName = 'ProductID'
    end
    object adsMasterEditProductCode: TStringField
      DisplayLabel = #20135#21697#32534#30721
      FieldName = 'ProductCode'
    end
    object adsMasterEditProductName: TStringField
      DisplayLabel = #20135#21697#21517#31216
      FieldName = 'ProductName'
      Size = 50
    end
    object adsMasterEditCustSpecs: TStringField
      DisplayLabel = #23458#25143#36135#21495
      FieldName = 'CustSpecs'
    end
    object adsMasterEditColorID: TStringField
      DisplayLabel = #33394#21495'ID'
      FieldName = 'ColorID'
    end
    object adsMasterEditColorCode: TStringField
      DisplayLabel = #33394#21495
      FieldName = 'ColorCode'
    end
    object adsMasterEditColorName: TStringField
      DisplayLabel = #39068#33394
      FieldName = 'ColorName'
      Size = 30
    end
    object adsMasterEditWidth: TStringField
      DisplayLabel = #33457#23485
      FieldName = 'Width'
      Size = 50
    end
    object adsMasterEditHeight: TStringField
      DisplayLabel = #33457#39640
      FieldName = 'Height'
      Size = 50
    end
    object adsMasterEditBreadth: TStringField
      DisplayLabel = #24133#23485
      FieldName = 'Breadth'
      Size = 50
    end
    object adsMasterEditGram: TStringField
      DisplayLabel = #20811#37325
      FieldName = 'Gram'
      Size = 50
    end
    object adsMasterEditOrderDate: TDateTimeField
      DisplayLabel = #19979#21333#26085#26399
      FieldName = 'OrderDate'
    end
    object adsMasterEditSendDate: TDateTimeField
      DisplayLabel = #21457#36135#26085#26399
      FieldName = 'SendDate'
    end
    object adsMasterEditOrderPieceCount: TFloatField
      DisplayLabel = #19979#21333#21305#25968
      FieldName = 'OrderPieceCount'
    end
    object adsMasterEditOrderNumber: TFloatField
      DisplayLabel = #19979#21333#25968#37327'(KG)'
      FieldName = 'OrderNumber'
    end
    object adsMasterEditSendPieceCount: TFloatField
      DisplayLabel = #21457#36135#21305#25968
      FieldName = 'SendPieceCount'
    end
    object adsMasterEditSendNumber: TFloatField
      DisplayLabel = #21457#36135#25968#37327'(KG)'
      FieldName = 'SendNumber'
    end
    object adsMasterEditBackPieceCount: TFloatField
      DisplayLabel = #36864#36135#21305#25968
      FieldName = 'BackPieceCount'
    end
    object adsMasterEditBackNumber: TFloatField
      DisplayLabel = #36864#36135#25968#37327'(KG)'
      FieldName = 'BackNumber'
    end
    object adsMasterEditPieceCount: TFloatField
      DisplayLabel = #21305#25968
      FieldName = 'PieceCount'
    end
    object adsMasterEditUnitID: TStringField
      DisplayLabel = #21333#20301'ID'
      FieldName = 'UnitID'
    end
    object adsMasterEditHasDispose: TBooleanField
      DisplayLabel = #22788#29702#21542
      FieldName = 'HasDispose'
    end
    object adsMasterEditDisposeOK: TBooleanField
      DisplayLabel = #22788#29702'OK'#21542
      FieldName = 'DisposeOK'
    end
    object adsMasterEditRestoreRemark: TStringField
      DisplayLabel = #22788#29702#32467#26524
      FieldName = 'RestoreRemark'
      Size = 100
    end
    object adsMasterEditHasCheck: TBooleanField
      DisplayLabel = #23457#26680#21542
      FieldName = 'HasCheck'
    end
    object adsMasterEditChecker: TStringField
      DisplayLabel = #23457#26680#20154
      FieldName = 'Checker'
    end
    object adsMasterEditCheckTime: TDateTimeField
      DisplayLabel = #23457#26680#26102#38388
      FieldName = 'CheckTime'
    end
    object adsMasterEditWriter: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object adsMasterEditWriteTime: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object adsMasterEditModifier: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object adsMasterEditModifyTime: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object adsMasterEditRemark: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 50
    end
    object adsMasterEditres_CustName: TStringField
      DisplayLabel = #23458#25143#21517#31216
      FieldKind = fkLookup
      FieldName = 'res_CustName'
      LookupDataSet = res_Customer
      LookupKeyFields = 'CustID'
      LookupResultField = 'CustShortName'
      KeyFields = 'CustID'
      Size = 100
      Lookup = True
    end
    object adsMasterEditres_UnitName: TStringField
      DisplayLabel = #21333#20301
      FieldKind = fkLookup
      FieldName = 'res_UnitName'
      LookupDataSet = res_Unit
      LookupKeyFields = 'UnitID'
      LookupResultField = 'UnitName'
      KeyFields = 'UnitID'
      Size = 10
      Lookup = True
    end
    object adsMasterEditres_SupplyCode: TStringField
      DisplayLabel = #20379#24212#21830#32534#30721
      FieldKind = fkLookup
      FieldName = 'res_SupplyCode'
      LookupDataSet = res_Supply
      LookupKeyFields = 'SupplyID'
      LookupResultField = 'SupplyCode'
      KeyFields = 'SupplyID'
      Lookup = True
    end
    object adsMasterEditres_SupplyName: TStringField
      DisplayLabel = #20379#24212#21830#21517#31216
      FieldKind = fkLookup
      FieldName = 'res_SupplyName'
      LookupDataSet = res_Supply
      LookupKeyFields = 'SupplyID'
      LookupResultField = 'SupplyShortName'
      KeyFields = 'SupplyID'
      Size = 50
      Lookup = True
    end
  end
  object adsRevType: TADODataSet
    Connection = dtmConnect.conMain
    LockType = ltBatchOptimistic
    CommandText = 'select * from V_xs_WarnType'
    Parameters = <>
    Left = 184
    Top = 104
  end
  object adsUserCompany: TADODataSet
    Connection = dtmConnect.conMain
    LockType = ltBatchOptimistic
    CommandText = 
      'select b.DeptID, b.DeptCode, b.DeptName from xt_CompanySet a '#13#10'j' +
      'oin da_Department b on a.CompanyID=b.DeptID'#13#10'where a.UserID=(sel' +
      'ect UserID from xt_Users where UserCode=:UserCode)'
    Parameters = <
      item
        Name = 'UserCode'
        Size = -1
        Value = Null
      end>
    Left = 184
    Top = 40
  end
  object res_Customer: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 
      'Select CustID, CustCode, CustShortName, CustFullName from V_da_C' +
      'ustomer'
    Parameters = <>
    Left = 192
    Top = 176
  end
  object res_Unit: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 'Select UnitID, UnitCode, UnitName from V_da_Unit'
    Parameters = <>
    Left = 320
    Top = 176
  end
  object res_Supply: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 
      'Select SupplyID, SupplyCode, SupplyShortName, SupplyFullName fro' +
      'm V_da_DeptCustSupply'
    Parameters = <>
    Left = 320
    Top = 112
  end
end
